# World_Domination

~~Nothing to see here....~~

Looks like we are going somewhere and I should add *some* documentation before I forget how this works myself. This is a search engine for faces. Faces are scraped from whatever source you want, stored in a sql db and can be searched.

## Installation Instructions:

1. You will need to install openface as detailed on their website https://cmusatyalab.github.io/openface/setup/
2. Install and configure MariaDB (refer to db_setup.txt)
3. Edit config.example.py with the relevant data and save it as config.py
4. your done!

## How to use it:

Right now there are only two commands:

* get_face.py
    * Takes one argument, location of image (file path or URL)
    * Finds all face bounding boxes, processes the faces and stores them in the db
* search.py
    * Takes file path as argument
    * Returns list of faces that match and how closely they match


## Important Info:

Everyone is welcome to contribute code to this project, any contributions are much appreciated. However, If I gave you write access, please remember to **USE PULL REQUESTS!!!** Thank you.